﻿using System.ServiceModel;
using System.Collections.Generic;
using appDataContracts;

namespace appInterfaces
{
    [ServiceContract ]
    public interface IAdmin
    {
        [OperationContract]
        SerializedAdmin adminLogin(string mail, string password);
        [OperationContract]
        List<SerializedSupplier> getSuppliers();
        [OperationContract]
        bool addSupplier(SerializedSupplier supplier);
        [OperationContract]
        bool updateSupplier(SerializedSupplier supplier);
        [OperationContract]
        bool deleteSupplier(int supplierId);
    }
}
